From: kaf24@firebug.cl.cam.ac.uk Date: Fri, 5 May 2006 13:01:43 +0000 (+0100) Subject: Fix python pciif script to reference correct 2.0 compatibility variable. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16108^2~10^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=be3309cba2bbe806e603d11fb01191196a927aac;p=xen.git Fix python pciif script to reference correct 2.0 compatibility variable. In the Xen 2.0.x compatibility section of xend (where we try to parse the s-expressions if they came from an SXP configuration file for Xen 2.0.x), the wrong variable is referenced. This fix corrects the python script to use the correct variable. Thanks to Mike Wright for reporting this. Signed-off-by: Ryan Wilson --- diff --git a/tools/python/xen/xend/server/pciif.py b/tools/python/xen/xend/server/pciif.py index 053b66adcb..16844cc6ff 100644 --- a/tools/python/xen/xend/server/pciif.py +++ b/tools/python/xen/xend/server/pciif.py @@ -94,7 +94,7 @@ class PciController(DevController): else: # Xen 2.0 configuration compatibility - domain = get_param(dev_config, 'domain', 0) + domain = get_param(config, 'domain', 0) bus = get_param(config, 'bus') slot = get_param(config, 'dev') func = get_param(config, 'func')